Home } Calculators } Pythagorean Theorem



One of geometry's most useful formulas, the Pythagorean Theorem, can be applied to the numbers you enter in JavaScript! Just enter 'A' and 'B' and the script solves for 'C.' Neat!
The Pythagorean Theorem

( a2 + b2 = c2 )

2 + 2 =

JavaScript Source Code 2002: Calculators: Pythagorean Theorem

Simply click inside the window below, use your cursor to highlight the script, and copy (type Control-c or Apple-c) the script into a new file in your text editor (such as Note Pad or Simple Text) and save (Control-s or Apple-s). The script is yours!!!